package com.cyx.Test;

import com.cyx.pojo.Subject;
import com.cyx.dao.SubjectDaoInterface;
import org.springframework.http.converter.json.GsonBuilderUtils;

import java.util.List;
import java.util.ListIterator;

public class MyTest {
    SubjectDaoInterface subjectDaoInterface;
    List<Subject> subjects=subjectDaoInterface.findAllSubject();

    public static void main(String[] args) {
//        ListIterator<String> iter =subjects.listIterator();
//        //由前向后输出
//        while(iter.hasNext()) {
//            System.out.print(iter.next()+"、");
//        }
    }
}
